<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <link th:href="@{/css/admin/base/form.css}" type="text/css" rel="stylesheet" />
    <link th:href="@{/css/admin/base/table.css}" type="text/css" rel="stylesheet" />
</head>
<body>
    <div class="lg-block">
        <button id="back" class="button">返回</button>
        <div class="lg-block-title1" th:text="${busVo.sbd}+有限公司+${busVo.applicationOption}+审办单"></div>
        <div class="lg-block-content">
            <th:block>
            <ul>
                <li>
                    <div class="form-title">车牌号:</div>
                    <pre class="pre-form-content" th:text="${busVo.busNo}"></pre>
                </li>
                <li>
                    <div class="form-title">驾驶员:</div>
                    <pre class="pre-form-content" th:text="${busVo.userName}"></pre>
                </li>
                <li>
                    <div class="form-title">申请日期:</div>
                    <pre class="pre-form-content" th:text="${busVo.applicationDate}"></pre>
                </li>
                <li>
                    <div class="form-title">申请金额:</div>
                    <pre class="pre-form-content" th:text="${busVo.applicationMoney}"></pre>
                </li>
                <li>
                    <div class="form-title">付款方式:</div>
                    <pre class="pre-form-content" th:text="${busVo.paymentWay}"></pre>
                </li>
                <li>
                    <div class="form-title">申请事由:</div>
                    <pre class="pre-form-content" th:text="${busVo.applicationReason}"></pre>
                </li>
                <input id="attachList" type="hidden" th:value="${busVo.attachmentList}" />
                <li><button id="fjck" class="button-active" style="margin-left: 0px">附件查看</button></li>
            </ul>
            </th:block>
        </div>
    </div>
    <div class="lg-block2">
        <div class="lg-block-title2">
            <span class="lg-block-subtitle1">审批流程</span>
            <span class="lg-block-subtitle2">Approval Process</span>
        </div>
        <div class="process">
            <th:block th:if='${not #lists.isEmpty(busVo.lcrzList)}'>
                <ul th:each="lcrz : ${busVo.lcrzList}">
                    <th:block>
                         <li><div class="process-title" th:text="${lcrz.lcjd}"></div>
	                        <th:block th:if="${lcrz.cljg=='通过'}">
	                            <div th:title="${'处理意见:'+(lcrz.message==''?'无':lcrz.message)+'&#10;处理时间:'+ lcrz.clsj}"
	                             class="process-content-pass" th:text="${lcrz.cljg}+'('+${lcrz.userName}+')'"></div>
	                        </th:block>
	                        <th:block th:if="${lcrz.cljg=='不通过'}">
	                            <div th:title="${'处理意见:'+(lcrz.message==''?'无':lcrz.message)
	                            +'&#10;处理时间:'+ lcrz.clsj}"
	                                 class="process-content-nopass" th:text="${lcrz.cljg}+'('+${lcrz.userName}+')'"></div>
	                        </th:block>
	                        <th:block th:if="${lcrz.cljg=='新增'}">
	                            <div th:title="${'处理意见:'+(lcrz.message==''?'无':lcrz.message)+'&#10;处理时间:'+ lcrz.clsj}"
	                                 class="process-content-pass" th:text="${lcrz.cljg}+'('+${lcrz.userName}+')'"></div>
	                        </th:block>
                             <th:block th:if="${lcrz.cljg=='已审核'}">
                                 <div th:title="${'处理意见:'+(lcrz.message==''?'无':lcrz.message)+'&#10;处理时间:'+ lcrz.clsj}"
                                      class="process-content-pass" th:text="${lcrz.cljg}+'('+${lcrz.userName}+')'"></div>
                             </th:block>
                    	</li>
                    </th:block>
                </ul>
            </th:block>
        </div>
        <div class="operation">
            <form id="b_approveForm" class="op-form">
                <div class="yj-input">
                    <span>办理人意见:</span>
                    <input type="radio" name="cljg" value="通过" checked="checked"/>通过
                    <input type="radio" name="cljg" value="不通过" />不通过
                </div>
                <div class="yj-disagree">
                    <div class="form-title">审批意见:</div>
                    <textarea class="sp-input" name="yj"></textarea>
                </div>
            </form>
            <input type="hidden" th:value="${busVo.id}" id="data" />
            <button id="submit"  class="button" style="margin-left:20%">提交</button>
        </div>
    </div>

<script th:src="@{/plugins/jquery-validation/js/jquery.validate.min.js}" type="text/javascript"></script>
<script th:src="@{/plugins/jquery-validation/js/additional-methods.min.js}" type="text/javascript"></script>
<script th:src="@{/js/admin/busmanagement/b_approveDetail.js}" type="text/javascript"></script>
</body>
</html>